package com.jwmp.rbac.domain;

import java.util.List;

/**
 * @Description TODO
 * @Version 1.0
 */
public class Department {
    private Long id;
    private String name;
    private Boolean status;
    private List<Employee> employeeList;

    public Department() {
    }

    public Department(Long id, String name,Boolean status) {
        this.id = id;
        this.name = name;
        this.status = status;
    }

    public Department(Long id, String name, Boolean status,List<Employee> employeeList) {
        this.id = id;
        this.name = name;
        this.status = status;
        this.employeeList = employeeList;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<Employee> getEmployeeList() {
        return employeeList;
    }

    public void setEmployeeList(List<Employee> employeeList) {
        this.employeeList = employeeList;
    }

    public Boolean getStatus() {
        return status;
    }

    public void setStatus(Boolean status) {
        this.status = status;
    }

    public String toString() {
        return "Department{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", status=" + status +
                ", employeeList=" + employeeList +
                '}';
    }
}
